<div class="products_hot_wrap">
   <h1 class="pro_hot_title">
      SẢN PHẨM NỔI BẬT
   </h1>
   <div class="products_hot">
   <?
      $product_hot = $templateHome->product_hot();
      $i = 0;
      foreach($product_hot as $row){
         $i++;
   ?>
      <div class="product <?=($i%2 == 0) ? 'mgr0':''?>">
         <a href="<?=generate_product_detail_url($row)?>" class="tooltip" title="<div class='tooltip_wrap'>
         <div class='tt_pg_info_wrap'>
            <img class='tt_img_tooltip' src='<?=($row['pro_image']) ? product_images.'medium_'.$row['pro_image'] : "/pictures/no.jpg"?>'/>
            <div class='tt_pg_info'>
               <div class='tt_pg_name uppercase'>
                  <?=$row['pro_name']?>
               </div>
               <p>Mã sản phẩm: <?=$row['pro_code']?></p>
               <p>Nơi sản xuất: <?=$row['pro_origin']?></p>
               <p>Giá: <span class='price'><?=($pro_info['pro_price'] != 0) ? number_format($pro_info['pro_price']).' đ': 'Liên hệ'?></span></p>
               <div class='tt_pg_detail_info'>
                  <?=cut_string($row['pro_description'],100)?>
               </div>
            </div>
            
         </div>"><img src="<?=($row['pro_image'] != '') ? product_images.$pro_img_small.$row['pro_image'] : '/pictures/no.jpg'?>"/></a>
         <div class="product_info">
            <div class="product_info_inner">
               <p class="product_name"><a href="<?=generate_product_detail_url($row)?>" title="<?=$row['pro_name']?>"><?=cut_string($row['pro_name'],35)?></a></p>
               <p class="product_description">
                  <?=cut_string($row['pro_description'],100)?>
               </p>
            </div>
            <a class="buy" href="<?=generate_product_order_url($row)?>">ĐẶT MUA</a>
         </div>
      </div>
   <? } ?>
      
   </div>
</div>
<div class="partner_wrap">
   <h1 class="pro_hot_title">
      ĐỐI TÁC
   </h1>
   <div class="partner_silde">
      <?include('vic_partner.php')?>
   </div>
</div>